<?php

class UriHelper {

    private static $uriData;
    //private static

    private function __construct() {
        //if (is_null(self::$uri))
    }

    public static function getNext ($count = 1) {
        if (is_null(self::$uriData)) {
            self::$uriData = explode ('/', htmlspecialchars ($_SERVER['QUERY_STRING'], ENT_QUOTES) );
        }
        return array_shift(self::$uriData);
    }

}
